package com.yuntai.pms.model.dto.system;


import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AipAppModifyDto
 * @Description: App中用户有权限修改的字段
 * @author caijg@hsyuntai.com
 * @date 2017年11月10日 下午2:42:43
 */
public class AipAppModifyDto implements Serializable{

	private static final long serialVersionUID = 2972122481077971538L;
	 
	private Long   isvAppId;                     // 应用主键ID

    private String name;                   // 应用名称
    
    private String description;            // 应用描述
    
    private String isvAppSecret;           // 客户端密令，用于客户端令牌请求认证授权
    
    private String resourceServerIds;      // 资源服务器id集合，英文逗号分隔，表示该客户端服务可以访问哪些资源服务器
    
    private String authorities;            // 权限资源集合，ROLE_*表示所有权限资源
    
    private Integer accessTokenValidity;    // 访问令牌有效时间，单位：秒（s）
    
    private Date createTime;             	// 创建时间
    
    private Date updateTime;            	// 最后更新时间
    
    private String status;					// 状态：有效(enabled)、待审核（check）、无效(disabled), 默认有效

	public Long getIsvAppId() {
		return isvAppId;
	}

	public void setIsvAppId(Long isvAppId) {
		this.isvAppId = isvAppId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getIsvAppSecret() {
		return isvAppSecret;
	}

	public void setIsvAppSecret(String isvAppSecret) {
		this.isvAppSecret = isvAppSecret;
	}

	public String getResourceServerIds() {
		return resourceServerIds;
	}

	public void setResourceServerIds(String resourceServerIds) {
		this.resourceServerIds = resourceServerIds;
	}

	public String getAuthorities() {
		return authorities;
	}

	public void setAuthorities(String authorities) {
		this.authorities = authorities;
	}

	public Integer getAccessTokenValidity() {
		return accessTokenValidity;
	}

	public void setAccessTokenValidity(Integer accessTokenValidity) {
		this.accessTokenValidity = accessTokenValidity;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}   
    
}
